.PHONY: clean fileclean dbclean

clean: fileclean dbclean

fileclean:
	rm -f *.pyc *.pyo */*.pyc */*.pyo

dbclean:
	echo "DROP DATABASE nachopro" | mysql -u root
	echo "CREATE DATABASE nachopro" | mysql -u root
	./manage.py syncdb --noinput
	./manage.py loaddata *.json
